package thinkingJava.chapter15;

interface SelfBoundedSetter <T extends SelfBoundedSetter<T>> {
	void set(T t);
}
interface Setter extends SelfBoundedSetter<Setter> {

}
public class SelfBoundingAndCovariantsArgument {
	void test(Setter s1, Setter s2, SelfBoundedSetter sbs) {
		s1.set(s2);
//		s1.set(sbs);
	}
}
